Changing the name of an element
It is possible to change the name for an already created →POU, an already created →data type or an already created global-object. If necessary, the corresponding code is refactored as well.
-
Open the context menu for the element displayed in the application navigator.
Alternative: Expand the object displayed in the project explorer. Then open the context menu for the displayed sub-level item. -
Select the command Rename or Rename Element.
-
In the dialog, enter the new name and click OK.
Result: The element and all its usages in the ST-objects, PLC-objects, FBD-objects and/or LD-objects of the current project are renamed to the new name.
Restriction for renaming a global or external variable The corresponding counterpart is not automatically renamed. |